<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<HTML>
	<HEAD>
		<meta http-equiv="Content-Language" content="zh-cn">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<LINK href="${pageContext.request.contextPath}/css/Style1.css" type="text/css" rel="stylesheet">
		<link rel="stylesheet" href="${pageContext.request.contextPath}/jquery/jquery.datepick.css" type="text/css">
	</HEAD>
	<body>
		<form id="userAction_save_do" name="Form1" action="${pageContext.request.contextPath}/user_update.action" method="post" enctype="multipart/form-data">
		<input type="hidden" name="uid" value="<s:property value="model.uid"/>"/>
			&nbsp;
		
			<table cellSpacing="1" cellPadding="5" width="100%" align="center" bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
				<tr>
					<td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
						height="26">
						<strong><STRONG>帐号操作</STRONG>
						</strong>
					</td>
				</tr>
				<tr>
					<td align="center" bgColor="#f5fafe" class="ta_01">
						 帐号名称：
					</td>
					<td class="ta_01" bgColor="#ffffff">
						<input type="text" name="username" value="<s:property value="model.username"/>" id="logonPwd"/>
					</td>
					<td align="center" bgColor="#f5fafe" class="ta_01">
						用户姓名：
					</td>
					<td class="ta_01" bgColor="#ffffff">
						<input type="text" name="name" value="<s:property value="model.name"/>" id="userAction_save_do_userName" class="bg"/>
					</td>
				</tr>
				
				<tr>
					<td align="center" bgColor="#f5fafe" class="ta_01">
						电子邮件：
					</td>
					<td class="ta_01" bgColor="#ffffff">
					
						<input type="addr" name="email" value="<s:property value="model.addr"/>" id="userAction_save_do_userName" class="bg"/>
						
					</td>
					
					<td align="center" bgColor="#f5fafe" class="ta_01">
					电话：
					</td>
					<td class="ta_01" bgColor="#ffffff">
						
						<input type="sex" name="phone" value="<s:property value="model.sex"/>" id="userAction_save_do_userName" class="bg"/>

					</td>
				</tr>
				
				<tr>
					<td align="center" bgColor="#f5fafe" class="ta_01">
						性别：
					</td>
					<td class="ta_01" bgColor="#ffffff">
					
						<input type="addr" name="sex" value="<s:property value="model.sex"/>" id="userAction_save_do_userName" class="bg"/>
						
					</td>
					
					<td align="center" bgColor="#f5fafe" class="ta_01">
					地址：
					</td>
					<td class="ta_01" bgColor="#ffffff">
						
						<input type="sex" name="addr" value="<s:property value="model.addr"/>" id="userAction_save_do_userName" class="bg"/>

					</td>
				</tr>
			
				
				<tr>
					<td align="center" bgColor="#f5fafe" class="ta_01">
						帐号状态：
					</td>
					<td class="ta_01" bgColor="#ffffff" colSpan="3">
						<select name="state">
							<s:if test="model.state==0">
								<option value="0" selected="selected">未激活</option>
								<option value="1">激活</option>
								<option value="2">冻结</option>
								<option value="3">注销</option>
							</s:if>
							<s:if test="model.state==1">
								<option value="0">未激活</option>
								<option value="1" selected="selected">激活</option>
								<option value="2">冻结</option>
								<option value="3">注销</option>
							</s:if>
							<s:if test="model.state==2">
								<option value="0">未激活</option>
								<option value="1">激活</option>
								<option value="2" selected="selected">冻结</option>
								<option value="3">注销</option>
							</s:if>
							<s:if test="model.state==3">
								<option value="0">未激活</option>
								<option value="1">激活</option>
								<option value="2">冻结</option>
								<option value="3" selected="selected">注销</option>
							</s:if>
							
						</select>
					</td>
					<input type="hidden" name="password" value="<s:property value="model.password"/>" id="userAction_save_do_userName" class="bg"/>
					<input type="hidden" name="code" value="<s:property value="model.code"/>" id="userAction_save_do_userName" class="bg"/>
				</tr>

				<tr>
					<td class="ta_01" style="WIDTH: 100%" align="center"
						bgColor="#f5fafe" colSpan="4">
						<button type="submit" id="userAction_save_do_submit" name="submit" value="&#30830;&#23450;" class="button_ok">
							&#30830;&#23450;
						</button>

						<FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
						<button type="reset" value="&#37325;&#32622;" class="button_cancel">&#37325;&#32622;</button>

						<FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
						<INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回"/>
						<span id="Label1"></span>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>